From: Richard M. Stallman Date: Tue, 7 Jun 1994 17:34:44 +0000 (+0000) Subject: (command_loop_1): Treat nil in display tab like no display tab. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~91234 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8e91f4415129bc56dac08866d24ad4829e8bb651;p=emacs.git (command_loop_1): Treat nil in display tab like no display tab. --- diff --git a/src/keyboard.c b/src/keyboard.c index b24ac159300..6ff8789a5ed 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1165,7 +1165,12 @@ command_loop_1 () obj = DISP_CHAR_VECTOR (dp, lose); if (NILP (obj)) - no_redisplay = direct_output_for_insert (lose); + { + /* Do it only for char codes + that by default display as themselves. */ + if (lose >= 0x20 && lose <= 0x7e) + no_redisplay = direct_output_for_insert (lose); + } else if (XTYPE (obj) == Lisp_Vector && XVECTOR (obj)->size == 1 && (XTYPE (obj = XVECTOR (obj)->contents[0])